summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-12-19 18:27:08 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2023-12-19 18:34:53 +0100
commit816c7a8d1fa3804aee25991182bce63f6dd2ddac (patch)
tree8aaf1c09811ed29a92acc76de93ce4600d484d14
parentyuzu: Make language persistent and remove symbols_path (diff)
downloadyuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar.gz
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar.bz2
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar.lz
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar.xz
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.tar.zst
yuzu-816c7a8d1fa3804aee25991182bce63f6dd2ddac.zip
-rw-r--r--src/yuzu/configuration/qt_config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 417a43ec5..a71000b72 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -225,6 +225,8 @@ void QtConfig::ReadPathValues() {
QString::fromStdString(ReadStringSetting(std::string("recentFiles")))
.split(QStringLiteral(", "), Qt::SkipEmptyParts, Qt::CaseSensitive);
+ ReadCategory(Settings::Category::Paths);
+
EndGroup();
}
@@ -405,6 +407,8 @@ void QtConfig::SaveQtControlValues() {
void QtConfig::SavePathValues() {
BeginGroup(Settings::TranslateCategory(Settings::Category::Paths));
+ WriteCategory(Settings::Category::Paths);
+
WriteSetting(std::string("romsPath"), UISettings::values.roms_path);
BeginArray(std::string("gamedirs"));
for (int i = 0; i < UISettings::values.game_dirs.size(); ++i) {